]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Consider non-background properties for ::style-changed
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 1 May 2019 10:34:00 +0000 (12:34 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Sun, 7 Jul 2019 21:01:33 +0000 (21:01 +0000)
commitbe40de5a9b684fe3f0d98a329bb35523ceb85dc6
tree063f2e4586a7343ebdf9895dacfe734896ace676
parent7359e431d3418b65093a2e02271cd7e5646cd605
st: Consider non-background properties for ::style-changed

st_theme_node_paint_equal() was originally added to preserve paint state
when a style change didn't affect any of StWidget's cached background
resources.
That's why using it for filtering out unneeded style changes as in commit
f662864a misses any non-background related properties that are relevant
for subclasses. Add additional tests to make sure we keep emitting the
signal in those cases.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1212
src/st/st-widget.c